package com.example.site.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum OrderStatus {

    WAITING(1, "等待工作人员确认"),
    CONFIRM(2, "订单确认，等待入住"),
    BACK(3, "房间已满，退回"),
    CANCEL(4, "用户主动取消");

    @EnumValue
    private Integer status;
    private String statusName;

    OrderStatus(Integer status, String statusName) {
        this.status = status;
        this.statusName = statusName;
    }

}
